package com.gxa.accommodation.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccommodationRoomDTO {

    @TableId(value = "id")
    private Long id;
    @NotNull(message = "房间类型编号不能为空")
    private Long roomTypeId;
    @NotNull(message = "房间编号不能为空")
    private Integer roomNumber;
    @NotNull(message = "酒店ID不能为空")
    private Long accommodationId;
    @NotBlank(message = "房间朝向不能为空")
    private String roomToward;
    @NotNull(message = "房间上架状态不能为空")
    private Byte roomStatus;


}
